package org.example.service.yy;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.example.entity.yy.Attractions;

import java.util.List;

public interface AttractionsService extends IService<Attractions> {

    //根据传入城市Id查询八个景点
    List<Attractions> selectAttractionsByCityId(int cityId);

    //根据传入景点Id查询景点详情
    Attractions selectAttractionsById(Integer attractionsId);

    //根据景点id修改浏览量
    Integer updateViewsById(Integer attId);

}
